<template>
  <div id="one-box">
    <div class="header">
      <div class="left">
        <h3>等级特权</h3>
        <p><span>等级</span> <span class="margin-left">特权</span></p>
      </div>
      <div class="right">
        <router-link class="iconfont" :to="{ name: 'myGrades' }"
          >查看我的等级&#xe61d;</router-link
        >
      </div>
    </div>

    <div class="list">
      <div class="list-box" v-for="item in list" :key="item.level">
        <b class="color-red">{{item.level}}</b>
        <span class="left-span">{{item.title}}</span>
        <span>{{item.info}}</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "myGradesInfo",
  data() {
    return {
      list: [
        { level:"LV.1",title:"5G音乐云盘免费容量",info:"黑名单上限20" },
        { level:"LV.2",title:"20G音乐云盘免费容量",info:"黑名单上限20" },
        { level:"LV.3",title:"40G音乐云盘免费容量",info:"黑名单上限20, 云音乐商城满100减3元优惠券, 价值50云贝" },
        { level:"LV.4",title:"40G音乐云盘免费容量",info:"黑名单上限20" },
        { level:"LV.5",title:"40G音乐云盘免费容量",info:"黑名单上限20, 云音乐商城满100减6元优惠券, 价值100云贝" },
        { level:"LV.6",title:"60G音乐云盘免费容量",info:"黑名单上限40" },
        { level:"LV.7",title:"60G音乐云盘免费容量",info:"黑名单上限80, 云音乐商城满100减9元优惠券, 价值400云贝" },
        { level:"LV.8",title:"60G音乐云盘免费容量",info:"黑名单上限100" },
        { level:"LV.9",title:"60G音乐云盘免费容量",info:"黑名单上限120, 云音乐商城满100减12元优惠券, 价值1200云贝" },
        { level:"LV.10",title:"100G音乐云盘免费容量",info:"黑名单上限140" },
      ]
    }
  },
};
</script>

<style lang="scss" scoped>

.list-box {
  display: flex;
  font-size: 12px;
  color:#666;
  line-height: 50px;
  border-bottom:1px solid #e6e6e6;
  *{
    margin:0 20px;
  }
}
.color-red {
  font-family: Arial;
  font-style: italic;
  font-weight: 600;
  color: #e03a24;
  margin-left:0;
  font-size:17px;
  width:40px;
}
.left-span{
  width:140px;
}
.header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
  .left {
    h3 {
      font-size: 24px;
    }
    p {
      margin-top: 10px;
      color: #666;
      font-size: 12px;
      .margin-left {
        margin-left: 50px;
      }
    }
  }
  .right {
    color: #0e73ba;
    font-size: 12px;
    .iconfont {
      color: #0e73ba;
    }
  }
}
</style>